package year2020.month03456;

import java.time.LocalTime;
import java.time.format.DateTimeFormatter;

public class LocalTImeTest {

    public static void main(String[] args){
        LocalTime now = LocalTime.now();

        System.out.println(now.toString());
        System.out.println(now.format(DateTimeFormatter.ISO_TIME));
        System.out.println(now.format(DateTimeFormatter.ISO_LOCAL_TIME));
        System.out.println(now.format(DateTimeFormatter.ofPattern("hh:mm:ss")));
    }
}
